Release 10.1A: OpenEdge Development:
Java Open Clients
Temp-table field data type conversion
When the
getDataType()method you use to get the value of a temp-table field does not match the default Java data type of the field (Table C–1), a valid conversion occurs as long as thegetDataType()method corresponds to the Progress data type, as shown in Table C–6. Otherwise, an exception is thrown with a message explaining that the conversion is not supported. For example, if the temp-table field is defined asLOGICAL, you can use any ofgetString(),getInt(), orgetBoolean()to retrieve the field value.
Table C–6: ProResultSet type conversions for temp-table fields Progress data type Valid Java data type accessor methods
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |